from case.lnitial.first_use import FirstUseTest
from case.lnitial.user_use import UseTest
from case.lnitial.lnitial_page import LnitialTest
from case.lnitial.systemsetting_bags_mode import SystemBagsTest

import time

start_time = time.time()
LnitialTest().start_test()  # 点击四个按钮

UseTest().start_test()  # 首次使用界面操作

FirstUseTest().start_test('展厅', '展厅医院')  # 选择医院

SystemBagsTest().start_fixed_box_test()  # 打开固定箱码
SystemBagsTest().start_unfixed_box_test()  # 关闭固定箱码
end_time = time.time()
from datetime import datetime,timedelta

run_time = end_time - start_time
# print(type(run_time))
# sec = str(timedelta(seconds=run_time))  #将秒转换为分
print("%.2f秒" % run_time)  # 保留小数点后两位
